package com.longcai.mapper.nearby;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.longcai.bean.ApiResult;
import com.longcai.entity.nearby.ClyjNearbyShops;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 附近商铺 Mapper 接口
 * </p>
 *
 * @author M
 * @since 2019-03-26
 */
@Mapper
@Repository
public interface ClyjNearbyShopsMapper extends BaseMapper<ClyjNearbyShops> {


    /**
     * 附近店铺关键字搜索
     *
     * @return
     */
    List<ClyjNearbyShops> searchShop(Map map);
    /**
     * 根据店铺id List查询
     * @param map
     * @return
     */
    List<ClyjNearbyShops> searchShopByShopIdList(Map map);
    /**
     *
     * @return
     */
    List<ClyjNearbyShops>selectGoodsName(String keyvalue);
}
